package com.logos.cartoon.converter;

import com.logos.cartoon.entity.AuthUser;
import com.logos.cartoon.req.AuthUserReq;
import com.logos.cartoon.resp.AuthUserResp;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AuthUserConverter {

    AuthUserConverter INSTANCE = Mappers.getMapper(AuthUserConverter.class);

    AuthUser convertReqToEntity(AuthUserReq authUserReq);

    AuthUserResp convertEntityToResp(AuthUser authUser);
}